package com.ys.sboot.enumpkg;

import lombok.Getter;

/**
 * <p>@description:响应码</p>
 *
 * @author yangshuang
 * @version 1.0
 * @date 18-5-11 下午10:06
 */
@Getter
public enum ResponseEum {


    ERROR_UNAUTHORIZED(401, "用户未登录或未授权"),
    LOGIN_SUCCESS(401, "用户未登录或未授权"),;


    private Integer code;

    private String desc;

    ResponseEum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
